package com.totem.customer.vo;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@Data
public class CustomerLoginVO implements Serializable {
    /** request **/
    @NotEmpty(message = "nickname不能为空")
    private String nickname;
    @NotEmpty(message = "password不能为空")
    private String password;
    /**
     * 登陆类型, account-账号密码登陆, mobile-手机号登陆, email-邮箱登陆
     */
    private String type;

    /** response **/
    private String token;
    private String email;
    private String mobile;
}
